using System;
using DDotNet.Data.BusinessObjects.Server;

namespace DDotNet.Data.BusinessObjects.Core
{
    /// <summary>
    /// Provides information about the DataPortal 
    /// call.
    /// </summary>
    public class DataPortalEventArgs : EventArgs
    {
        private DataPortalContext _dataPortalContext;

        /// <summary>
        /// The DataPortalContext object passed to the
        /// server-side DataPortal.
        /// </summary>
        public DataPortalContext DataPortalContext
        {
            get { return _dataPortalContext; }
        }

        public DataPortalEventArgs(DataPortalContext dataPortalContext)
        {
            _dataPortalContext = dataPortalContext;
        }
    }
}